﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="review.aspx.cs" Inherits="LineWatch_Web.review" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <link href="CSS/Main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager runat="Server" EnableScriptGlobalization="true" EnableScriptLocalization="true"
        ID="ScriptManager1" ScriptMode="Debug" CombineScripts="false" />
    <div>
        <div id="Title" class="TitleText" style="font-weight: bold; font-size: 12pt; font-family: 微软雅黑">
            <br />
            历史记录查看
        </div>
        <br />
        <br />
        <div id="Content" class="ContentGroup" style="left: 20px; width: 700px; top: 51px;
            height: 1px;">
            <div id="row1" class="Content">
                <table style="width: 753px; height: 7px">
                    <tr>
                        <td colspan="5" style="font-size: 10pt">
                            日期范围：
                            <table>
                                <tr>
                                    <td>
                                        <asp:TextBox runat="server" ID="Calendar1" autocomplete="off" Width="80" />
                                    </td>
                                    <td>
                                        <asp:CalendarExtender ID="CalendarExtender1" Format="yyyy-MM-dd" runat="server" TargetControlID="Calendar1">
                                        </asp:CalendarExtender>
                                    </td>
                                    <td valign="top">
                                        -
                                    </td>
                                    <td>
                                        <asp:TextBox runat="server" ID="Calendar2" autocomplete="off" Width="80" />
                                    </td>
                                    <td>
                                        <asp:CalendarExtender ID="CalendarExtender2" Format="yyyy-MM-dd" runat="server" TargetControlID="Calendar2">
                                        </asp:CalendarExtender>
                                    </td>
                                    <td valign="top">
                                        <span style="color: red">日期格式：YYYY-MM-DD &nbsp; 例：2007-05-01</span>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5" style="font-size: 10pt; height: 40px">
                            信息选择：<asp:DropDownList ID="ddlView" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlView_SelectedIndexChanged">
                                <asp:ListItem Value="product">生产信息</asp:ListItem>
                                <asp:ListItem Value="position">工程位信息</asp:ListItem>
                            </asp:DropDownList>
                            &nbsp; 流水线名：<asp:DropDownList ID="ddlLine" runat="server">
                            </asp:DropDownList>
                            &nbsp; 班次：<asp:DropDownList ID="ddlShift" runat="server">
                                <asp:ListItem Value="0">全部</asp:ListItem>
                                <asp:ListItem Value="1">白班</asp:ListItem>
                                <asp:ListItem Value="2">晚班</asp:ListItem>
                            </asp:DropDownList>
                            &nbsp;
                            <asp:Label ID="labPosition" runat="server" Text="工位名称：" Font-Size="10pt"></asp:Label><asp:TextBox
                                ID="txtPosition" runat="server" MaxLength="10" Width="62px"></asp:TextBox>
                            &nbsp;
                            <asp:Button ID="btnView" runat="server" OnClick="btnView_Click" Text="搜索" />
                            <asp:Button ID="btnCalculate" runat="server" Text="统计" OnClick="btnCalculate_Click" />
                            <asp:Button ID="btnExport" runat="server" Text="导出" OnClick="btnExport_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="row4" class="GridView" style="left: 21px; top: 130px; height: 1px;">
            <asp:GridView ID="gvView" runat="server" AllowPaging="True" OnPageIndexChanging="gvView_PageIndexChanging"
                PageSize="20" OnRowDataBound="gvView_RowDataBound" Width="733px">
                <RowStyle Font-Names="微软雅黑" Font-Size="10pt" HorizontalAlign="Center" VerticalAlign="Middle" />
                <HeaderStyle BackColor="Black" ForeColor="White" Font-Size="10pt" HorizontalAlign="Center"
                    VerticalAlign="Middle" Font-Names="微软雅黑" />
            </asp:GridView>
            &nbsp;</div>
        <div id="row6" class="GridView" style="left: 21px; top: 130px; height: 1px;">
            <asp:GridView ID="gvStat" runat="server" AllowPaging="True" OnPageIndexChanging="gvStat_PageIndexChanging"
                PageSize="20" OnRowDataBound="gvStat_RowDataBound" Width="732px">
                <RowStyle Font-Names="微软雅黑" Font-Size="10pt" HorizontalAlign="Center" VerticalAlign="Middle" />
                <HeaderStyle BackColor="Black" ForeColor="White" Font-Size="10pt" HorizontalAlign="Center"
                    VerticalAlign="Middle" Font-Names="微软雅黑" />
            </asp:GridView>
        </div>
    </div>
    </form>
</body>
</html>
